import axios from "@/api2/request"


const base = {
    chat: "/base/chat",
    patientNRS: "/base/patientNRS",
    patientMUST: "/base/patientMUST",
    patientNutritionPlan: "/base/patientNutritionPlan",
    patientMealPlan: "/base/patientMealPlan",
    patientEnteralNutritionPlan: "/base/patientEnteralNutritionPlan",
    patientParenteralNutritionPlan: "/base/patientParenteralNutritionPlan",
}

const api = {
    base_chat(params) {
        return axios.get(base.chat, {params})
    },
    base_patientNRS(params) {
        return axios.get(base.patientNRS, {params})
    },
    base_patientMUST(params) {
        return axios.get(base.patientMUST, {params})
    },
    base_patientNutritionPlan(params) {
        return axios.get(base.patientNutritionPlan, {params})
    },
    base_patientMealPlan(params) {
        return axios.get(base.patientMealPlan, {params})
    },
    base_patientEnteralNutritionPlan(params) {
        return axios.get(base.patientEnteralNutritionPlan, {params})
    },
    base_patientParenteralNutritionPlan(params) {
        return axios.get(base.patientParenteralNutritionPlan, {params})
    },

}
export default api
